home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Serious Demos / Symbolic Composer 4.2 / Environment / System / SYMBOL / Utilities / Files / include-file next >
Encoding:
Text File  |  1998-10-23  |  819 b   |  22 lines  |  [TEXT/ScoM]

  1. include-file filename
  2.  
  3. This allows you to read a file that contains definitions of variables directly on the same directory as the file that calls this. For example in the following you have a score saved in file "my score" and in the beginning you include another file "theme generation", a file that is saved in the same directory as "my score".
  4.    
  5. (def-orchestra 'orchestra
  6.    all-instruments (drums bass theme solo strings)
  7.    drums (hihat1 hihat2 kicks snare fill crash)
  8.    kicks (kick)
  9.    bass (bass1 seq)
  10.    bass1 (bass1a bass1b)
  11.    seq (seq1 seq2)
  12.    seq2 (seq2mel seq2cnt)
  13.    theme (voice1 voice2 voice3 voice4)
  14.    voice1 (voice1mel voice1cnt)
  15.    solo (solo1 solo2)
  16. )
  17.  
  18. (include-file "theme generation")
  19.  
  20. (def-section-timesheet sect-a
  21.   with 1/1  ;1   5   9   13  17  21  25  29  33  37  41  45  49  53 etc...
  22.